﻿using System;
using FrameWork.Core.Adapter.Device;
using FrameWork.Core.Enum;

namespace FrameWork.Core.Base
{
    public class SystemNotify
    {
        /// <summary>
        /// 设备
        /// </summary>
        public int DeviceId { get; set; }
        /// <summary>
        /// 事件名称
        /// </summary>
        public string Title { get; set; }
        /// <summary>
        /// 系统描述
        /// </summary>
        public string Describe { get; set; }
        /// <summary>
        /// 事件关联工步
        /// </summary>
        public string StepName { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool State { get; set; }
        /// <summary>
        /// 消息类型
        /// </summary>
        public EnumEventType EventType { get; set; }
        /// <summary>
        /// 告警级别
        /// </summary>
        public EnumAlarmLevel AlarmLevel { get; set; }
        /// <summary>
        /// 系统描述
        /// </summary>
        public DateTime CreateTime { get; set; } = DateTime.Now;
        /// <summary>
        /// 设备信息
        /// </summary>
        public BaseDevice baseDevice { get; set; }
    }
}
